package com.scan.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.scan.dao.mapper.UserMapper;
import com.scan.dao.model.User;
import com.scan.service.UserService;

/**
 * Created by tancw on 2017/1/19.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> list() {
        return userMapper.list();
    }
}
